package com.nit.elasticsearch.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author :fjw
 * @description:TODO
 * @date :2020/11/2 22:08
 */
@Data
@Accessors(chain = true)
@AllArgsConstructor
public class User {
	private Long id;
	private String name;
	private int age;
	private boolean man;

	@Override
	public String toString() {
		return "User{" +
				"id=" + id +
				", name='" + name + '\'' +
				", age=" + age +
				", man=" + man +
				'}';
	}
}
